﻿CREATE TABLE [acms].[Files] (
    [Id]          INT             IDENTITY (1, 1) NOT NULL,
    [FileData]    VARBINARY (MAX) NOT NULL,
    [Name]        VARCHAR (50)    NOT NULL,
    [Size]        BIGINT          NOT NULL,
    [FileType]    INT             NOT NULL,
    [ContentType] VARCHAR (50)    NOT NULL,
    [Extension]   VARCHAR (6)     NOT NULL,
    [Width]       INT             NULL,
    [Height]      INT             NULL,
    [LogDownload] BIT             NOT NULL,
    [Deleted]     BIT             NULL,
    [VersionId]   TIMESTAMP       NOT NULL
);

